#pragma once
#include "common_ptr.h"

class BOOL
{
public:
  static BOOL_ptr NIL;
  static BOOL_ptr FALSE;
  static BOOL_ptr TRUE;
  string_ptr name;
  uint64_t mask;

  BOOL(uint64_t mask, string_ptr name);

  bool operator == (const BOOL &ps) const;
  bool operator != (const BOOL &ps) const;
  bool operator == (const BOOL_ptr ps) const;
  bool operator != (const BOOL_ptr ps) const;
};